From 598643d94801be663f3f863527eb4abbc4a95005 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 2 Nov 2018 17:01:06 +0000 Subject: [PATCH] tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL This is an integer type, not a pointer. Signed-off-by: Ian Jackson Acked-by: Wei Liu --- tools/libvchan/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libvchan/init.c b/tools/libvchan/init.c index ba5a6eb29e..180833dc2f 100644 --- a/tools/libvchan/init.c +++ b/tools/libvchan/init.c @@ -250,7 +250,7 @@ static int init_xs_srv(struct libxenvchan *ctrl, int domain, const char* xs_base char buf[64]; char ref[16]; char* domid_str = NULL; - xs_transaction_t xs_trans = NULL; + xs_transaction_t xs_trans = XBT_NULL; xs = xs_domain_open(); if (!xs) goto fail; -- 2.30.2